package com.ctshk.rpc.season.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @ClassName SeasonProductChannelOfflineAgentCustomArrayReq
 * @Description: TODO
 * @Author 杨林
 * @Date 2021/3/15
 **/
@Data
@ApiModel(value="SeasonProductChannelOfflineAgentCustomArrayReq", description="产品中心,固定套票加幅策略 线下代理 自定义权限")
public class SeasonProductChannelOfflineAgentCustomArrayReq implements Serializable {
    @ApiModelProperty(value = "产品ID")
    private Long productId;

    @ApiModelProperty(value = "线下权限id")
    private Long offlineId;

    @ApiModelProperty(value = "勾选人/部门类型(1部门，2员工)")
    private Integer checkType;

    @ApiModelProperty(value = "关联ID")
    private Long relationId;

    @ApiModelProperty(value = "代理商ID")
    private Long agentId;

    @ApiModelProperty(value = "名称")
    private String agentName;

    @ApiModelProperty(value = "加幅类型(1 数值，2百分比百分比增幅小数部分需向上取整，如1.56取2.00)")
    private Integer adjustType;

    @ApiModelProperty(value = "金额")
    private BigDecimal amount;

    @ApiModelProperty(value = "百分比")
    private Double percent;

    @ApiModelProperty(value = "是否设置限购（1 限购，2 不限购）")
    private Integer isLimit;

    @ApiModelProperty(value = "限购数量")
    private Integer limitNum;

}
